package com.topc.problem.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.topc.problem.model.po.ProblemDealCommentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.topc.problem.model.vo.DealCommentShowVo;
import org.apache.ibatis.annotations.Param;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 题解评论 Mapper 接口
 * </p>
 *
 * @author Gogoing
 */
public interface ProblemDealCommentInfoMapper extends BaseMapper<ProblemDealCommentInfo> {

    Page<DealCommentShowVo> searchCommentByPage(Page page, @Param("userNumber") String userNumber,@Param("id") Long id);
}
